package ym.ecrm.web.action.systemManagement;

import org.springframework.beans.factory.annotation.Autowired;

import ym.ecrm.core.service.systemManagement.ISystemService;
import ym.ecrm.web.action.base.BaseAction;

/**
 * 
 * @author Princess
 * 
 */
public class DeleteOrganizationAction extends BaseAction {
	
	private String organizationId;

	@Autowired
	private ISystemService systemService;

	public String execute() {
		systemService.deleteOrganization(
				Long.parseLong(organizationId));
		return proccess();
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public String getSuccess() {
		return success;
	}

	public String getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(String organizationId) {
		this.organizationId = organizationId;
	}
	
}
